#ifndef OCK_MEMORY_BRIDGE_ERROR_CODE_H
#define OCK_MEMORY_BRIDGE_ERROR_CODE_H
namespace ock {
namespace hmm {

using OckHmmErrorCode = int;
constexpr OckHmmErrorCode HMM_SUCCESS = 0;
constexpr OckHmmErrorCode HMM_ERROR_EXEC_INVALID_INPUT_PARAM = 1;
constexpr OckHmmErrorCode HMM_ERROR_EXEC_FAILED = 2;

constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_EMPTY = 14000;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_OUT_OF_RANGE = 14001;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_DEVICE_NOT_EXISTS = 14002;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_CPUID_NOT_EXISTS = 14004;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_SRC_OFFSET_EXCEED_SCOPE = 14010;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_DST_OFFSET_EXCEED_SCOPE = 14011;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_SRC_LENGTH_EXCEED_SCOPE = 14012;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_DST_LENGTH_EXCEED_SCOPE = 14013;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_DEVICEID_NOT_EQUAL = 14014;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_NOT_SUPPORT_SUCH_OP = 14050;
constexpr OckHmmErrorCode HMM_ERROR_INPUT_PARAM_ZERO_MALLOC = 14051;
constexpr OckHmmErrorCode HMM_ERROR_WAIT_TIME_OUT = 14060;
constexpr OckHmmErrorCode HMM_ERROR_DEVICE_BUFFER_SPACE_NOT_ENOUGT = 14070;
constexpr OckHmmErrorCode HMM_ERROR_DEVICE_DATA_SPACE_NOT_ENOUGT = 14071;
constexpr OckHmmErrorCode HMM_ERROR_HOST_BUFFER_SPACE_NOT_ENOUGT = 14072;
constexpr OckHmmErrorCode HMM_ERROR_HOST_DATA_SPACE_NOT_ENOUGT = 14073;
constexpr OckHmmErrorCode HMM_ERROR_SPACE_NOT_ENOUGT = 14074;
constexpr OckHmmErrorCode HMM_ERROR_SWAP_SPACE_NOT_ENOUGT = 14075;
constexpr OckHmmErrorCode HMM_ERROR_STACK_MANAGE_SPACE_NOT_ENOUGT = 14076;
constexpr OckHmmErrorCode HMM_ERROR_TASK_ALREADY_RUNNING = 14100;
constexpr OckHmmErrorCode HMM_ERROR_HMO_NO_AVAIBLE_ID = 14200;
constexpr OckHmmErrorCode HMM_ERROR_HMO_OBJECT_NUM_EXCEED = 14201;
constexpr OckHmmErrorCode HMM_ERROR_HMO_OBJECT_NOT_EXISTS = 14202;
constexpr OckHmmErrorCode HMM_ERROR_HMO_OBJECT_INVALID = 14203;
constexpr OckHmmErrorCode HMM_ERROR_HMO_BUFFER_RELEASED = 14204;
constexpr OckHmmErrorCode HMM_ERROR_HMO_BUFFER_NOT_ALLOCED = 14205;
constexpr OckHmmErrorCode HMM_ERROR_UNKOWN_INNER_ERROR = 19999;
}
}
#endif